<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset={$charset}" />
		<title>{$page_title}</title>
		<link type="text/css" rel="stylesheet" href="view/css/layout.css"/>
		{if isset($css)}<link type="text/css" rel="stylesheet" href="{$css}"/>{/if}
				
	{if isset($map24)}
		<script type="text/javascript" language="javascript" src="http://api.maptp.map24.com/ajax?appkey=CJX0024cf19cc5069783471cec27f9b6X12"></script>
		<script type="text/javascript" language="javascript" src="ajax/getCities.js"></script>
	</head>
	<body onload="goMap24();">
	{else}
	</head>
	<body>
	{/if}
	<div id="ie">
	  <div id="wrapper">
		<div id="header">
			<h1><a href="./"><img src="view/images/logo.png" alt="hjem" /></a></h1>
		</div>
		
		<div id="main">
			<ul id="menu">
				<li {if $page=="index"}id="selected"{/if}><a href="./">Hjem</a></li>
				<li {if $page=="customRoute"}id="selected"{/if}><a href="?page=customRoute">Manuell rute</a></li>
				<li {if $page=="route"}id="selected"{/if}><a href="?page=route">Rutesøk</a></li>
				<li {if $page=="predef"}id="selected"{/if}><a href="?page=predef">Forhåndsdefinerte ruter</a></li>
				<li {if $page=="about"}id="selected"{/if}><a href="?page=about">Om TurYr</a></li>
			</ul>
			{if isset($error)}<p class="error">{$error}</p>{/if}
			{include file="$content_tpl"}
		</div>
		
		<div id="sidebar">
			<p>Konkurransebidrag, yr.no.</p><p>Utviklet under GPLv3-lisensen, opphavsretten tilhører <br />Lars Hopland Nestås <br />Halvor Melting Kvalbein <br /> Tobias Rusås Olsen</p>
		</div>
		
	  </div>
	  <div id="footer">
			<p>Værdata fra yr.no, fra Meteorologisk institutt og NRK</p>
			<a href="http://yr.no">yr.no</a> | <a href="http://met.no">met.no</a> | <a href="http://nrk.no">nrk.no</a>
	  </div>
	 
	 </div>
	</body>
</html>